﻿@using OBUCare.Web.Models
@using OBUCare.Core.Models
@model UserReceiveObuInfo
@{
    ViewBag.Title = "NullInfoControl";
}
@if (Model != null)
{
    if (Model.RepairOrder.STATUS == Convert.ToInt16(RepairOrderStatus.ClosedWithCustomerPickedBack))
    { 
    <script type="text/javascript">        alert("该标签已领取，不能再次领取");</script>
    }
    else if (Model.RepairOrder.STATUS < Convert.ToInt16(RepairOrderStatus.InformedCustomer))
    { 
    <script type="text/javascript">        alert("该标签处于维修状态中，无法进行领取");</script>
    }
    else
    {
       <script type="text/javascript">    alert("该标签维修单状态为未联系上客户，不能领取，请联系管理员");</script>
    }
}
else
{
    <div style="text-align: center; width: 800px">
        <span style="font-size: 18px; font-weight: bold">该标签号无维修单信息，请确认该标签是否填写正确</span></div>
}
